<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>广州血液中心无偿献血综合服务平台——登录</title>
<link href="https://cdn.bootcss.com/normalize/7.0.0/normalize.css"
	rel="stylesheet">
<link
	href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css"
	rel="stylesheet">
</head>
<style>
.main {
	width: 100%;
	min-height: 600px;
	background-color: #87CEFA;
	margin: 10px 0px 10px 0px;
}

.form-container {
	width: 402px;
	height: 323px;
	background-color: #FFF;
	box-shadow: 5px 5px 5px #888888;
	float: right;
	top: 50px;
	right: 30px;
	position: relative;
}

.form-container h1 {
	text-align: center;
}

.form-container form {
	margin: auto;
	width: 90%;
}

.form-control {
	background-color: #eee;
	padding: 6px;
	border-radius: 5px;
	margin-bottom: 10px;
}

.form-control input {
	border: none; background : #eee;
	width: 100%;
	background: #eee;
}

.submit-btn {
	border: none;
	background: #169BD5;
	border-radius: 6px;
	width: 100%;
	height: 40px;
	color: #FFF;
	font-size: 20px;
}

.msg-tip{
	color:#f26868;
}
</style>
<body>
	<!--头部-->
	<div
		style="width: 100%; height: 97px; background: url(../../Pic/nav.png); background-size: 100%; margin-left: auto; margin-right: auto;">

		<!--头部左边-->
		<img src="../../Pic/logo.png" width="103px" height="89px"
			style="float: left;" /> <span
			style="float: left; font-size: 48px; color: #FFF; font-weight: bold; font-family: Arial, Helvetica, sans-serif; top: -100px; margin-top: 15px;">广州血液中心无偿献血综合服务平台</span>
	</div>

	<!-- main -->
	<div class="main">
		<div class="form-container">
			<h1>登录</h1>
			<form th:action="@{/login}" method="post">
				<div th:if="${msg}">
					<p th:text="${msg}" class="msg-tip"></p>
				</div>
				<div class="form-control">
					<input type="text" name="username" placeholder="用户名" />
				</div>
				<div class="form-control">
					<input type="password" name="password" placeholder="密码" />
				</div>
				<div>
					<input type="submit" class="submit-btn" value="登录" />
				</div>
			</form>
		</div>
	</div>
</body>
</html>